# Create your views here.

from os import environ
from django.http import HttpResponse, HttpResponseRedirect, HttpResponseNotFound, HttpResponseForbidden
from classes import Users
from django.contrib.auth.models import User
from models import UserProfile

def test(request):
    oUsers = Users()
    oUsers.create("nn@nn.com","","")
    return HttpResponse(1)
    '''ouser = oUsers.getByLogin("emi420@gmail.com")
    UserProfile.objects.create(user=ouser)
    if ouser.get_profile().subscribe:
        sSubscribe = "True"
    else:
        sSubscribe = "False"
    return HttpResponse(",".join([ouser.email, sSubscribe]))
    '''